Optimal. Leaf size=142 \[ -\frac {16 a \cos (e+f x)}{15 f (c+d)^3 \sqrt {a \sin (e+f x)+a} \sqrt {c+d \sin (e+f x)}}-\frac {8 a \cos (e+f x)}{15 f (c+d)^2 \sqrt {a \sin (e+f x)+a} (c+d \sin (e+f x))^{3/2}}-\frac {2 a \cos (e+f x)}{5 f (c+d) \sqrt {a \sin (e+f x)+a} (c+d \sin (e+f x))^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.29, antiderivative size = 142, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.069, Rules used = {2772, 2771} \[ -\frac {16 a \cos (e+f x)}{15 f (c+d)^3 \sqrt {a \sin (e+f x)+a} \sqrt {c+d \sin (e+f x)}}-\frac {8 a \cos (e+f x)}{15 f (c+d)^2 \sqrt {a \sin (e+f x)+a} (c+d \sin (e+f x))^{3/2}}-\frac {2 a \cos (e+f x)}{5 f (c+d) \sqrt {a \sin (e+f x)+a} (c+d \sin (e+f x))^{5/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2771
Rule 2772
Rubi steps
\begin {align*} \int \frac {\sqrt {a+a \sin (e+f x)}}{(c+d \sin (e+f x))^{7/2}} \, dx &=-\frac {2 a \cos (e+f x)}{5 (c+d) f \sqrt {a+a \sin (e+f x)} (c+d \sin (e+f x))^{5/2}}+\frac {4 \int \frac {\sqrt {a+a \sin (e+f x)}}{(c+d \sin (e+f x))^{5/2}} \, dx}{5 (c+d)}\\ &=-\frac {2 a \cos (e+f x)}{5 (c+d) f \sqrt {a+a \sin (e+f x)} (c+d \sin (e+f x))^{5/2}}-\frac {8 a \cos (e+f x)}{15 (c+d)^2 f \sqrt {a+a \sin (e+f x)} (c+d \sin (e+f x))^{3/2}}+\frac {8 \int \frac {\sqrt {a+a \sin (e+f x)}}{(c+d \sin (e+f x))^{3/2}} \, dx}{15 (c+d)^2}\\ &=-\frac {2 a \cos (e+f x)}{5 (c+d) f \sqrt {a+a \sin (e+f x)} (c+d \sin (e+f x))^{5/2}}-\frac {8 a \cos (e+f x)}{15 (c+d)^2 f \sqrt {a+a \sin (e+f x)} (c+d \sin (e+f x))^{3/2}}-\frac {16 a \cos (e+f x)}{15 (c+d)^3 f \sqrt {a+a \sin (e+f x)} \sqrt {c+d \sin (e+f x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.39, size = 128, normalized size = 0.90 \[ -\frac {2 \sqrt {a (\sin (e+f x)+1)} \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right ) \left (15 c^2+4 d (5 c+d) \sin (e+f x)+10 c d+8 d^2 \sin ^2(e+f x)+3 d^2\right )}{15 f (c+d)^3 \left (\sin \left (\frac {1}{2} (e+f x)\right )+\cos \left (\frac {1}{2} (e+f x)\right )\right ) (c+d \sin (e+f x))^{5/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.52, size = 556, normalized size = 3.92 \[ \frac {2 \, {\left (8 \, d^{2} \cos \left (f x + e\right )^{3} - 4 \, {\left (5 \, c d - d^{2}\right )} \cos \left (f x + e\right )^{2} - 15 \, c^{2} + 10 \, c d - 7 \, d^{2} - {\left (15 \, c^{2} + 10 \, c d + 11 \, d^{2}\right )} \cos \left (f x + e\right ) - {\left (8 \, d^{2} \cos \left (f x + e\right )^{2} - 15 \, c^{2} + 10 \, c d - 7 \, d^{2} + 4 \, {\left (5 \, c d + d^{2}\right )} \cos \left (f x + e\right )\right )} \sin \left (f x + e\right )\right )} \sqrt {a \sin \left (f x + e\right ) + a} \sqrt {d \sin \left (f x + e\right ) + c}}{15 \, {\left ({\left (c^{3} d^{3} + 3 \, c^{2} d^{4} + 3 \, c d^{5} + d^{6}\right )} f \cos \left (f x + e\right )^{4} - 3 \, {\left (c^{4} d^{2} + 3 \, c^{3} d^{3} + 3 \, c^{2} d^{4} + c d^{5}\right )} f \cos \left (f x + e\right )^{3} - {\left (3 \, c^{5} d + 12 \, c^{4} d^{2} + 20 \, c^{3} d^{3} + 18 \, c^{2} d^{4} + 9 \, c d^{5} + 2 \, d^{6}\right )} f \cos \left (f x + e\right )^{2} + {\left (c^{6} + 3 \, c^{5} d + 6 \, c^{4} d^{2} + 10 \, c^{3} d^{3} + 9 \, c^{2} d^{4} + 3 \, c d^{5}\right )} f \cos \left (f x + e\right ) + {\left (c^{6} + 6 \, c^{5} d + 15 \, c^{4} d^{2} + 20 \, c^{3} d^{3} + 15 \, c^{2} d^{4} + 6 \, c d^{5} + d^{6}\right )} f - {\left ({\left (c^{3} d^{3} + 3 \, c^{2} d^{4} + 3 \, c d^{5} + d^{6}\right )} f \cos \left (f x + e\right )^{3} + {\left (3 \, c^{4} d^{2} + 10 \, c^{3} d^{3} + 12 \, c^{2} d^{4} + 6 \, c d^{5} + d^{6}\right )} f \cos \left (f x + e\right )^{2} - {\left (3 \, c^{5} d + 9 \, c^{4} d^{2} + 10 \, c^{3} d^{3} + 6 \, c^{2} d^{4} + 3 \, c d^{5} + d^{6}\right )} f \cos \left (f x + e\right ) - {\left (c^{6} + 6 \, c^{5} d + 15 \, c^{4} d^{2} + 20 \, c^{3} d^{3} + 15 \, c^{2} d^{4} + 6 \, c d^{5} + d^{6}\right )} f\right )} \sin \left (f x + e\right )\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: NotImplementedError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.36, size = 430, normalized size = 3.03 \[ \frac {2 \sqrt {a \left (1+\sin \left (f x +e \right )\right )}\, \sqrt {c +d \sin \left (f x +e \right )}\, \left (19 c^{3} \left (\cos ^{2}\left (f x +e \right )\right ) d^{2}-11 \sin \left (f x +e \right ) \left (\cos ^{2}\left (f x +e \right )\right ) d^{5}+25 \left (\cos ^{2}\left (f x +e \right )\right ) c^{4} d +21 \left (\cos ^{4}\left (f x +e \right )\right ) c^{2} d^{3}-2 c \left (\cos ^{4}\left (f x +e \right )\right ) d^{4}+13 c \left (\cos ^{2}\left (f x +e \right )\right ) d^{4}-11 c \,d^{4}-6 c^{2} d^{3}-22 c^{3} d^{2}-35 c^{4} d +4 \sin \left (f x +e \right ) \left (\cos ^{4}\left (f x +e \right )\right ) c \,d^{4}+7 \sin \left (f x +e \right ) \left (\cos ^{2}\left (f x +e \right )\right ) c^{3} d^{2}+3 \sin \left (f x +e \right ) \left (\cos ^{2}\left (f x +e \right )\right ) c^{2} d^{3}-15 \sin \left (f x +e \right ) \left (\cos ^{2}\left (f x +e \right )\right ) c \,d^{4}+7 d^{5} \sin \left (f x +e \right )+6 c^{2} d^{3} \sin \left (f x +e \right )+11 c \,d^{4} \sin \left (f x +e \right )+35 \sin \left (f x +e \right ) c^{4} d +22 \sin \left (f x +e \right ) c^{3} d^{2}-7 d^{5}+4 \sin \left (f x +e \right ) \left (\cos ^{4}\left (f x +e \right )\right ) d^{5}-15 \left (\cos ^{2}\left (f x +e \right )\right ) c^{2} d^{3}+8 \left (\cos ^{6}\left (f x +e \right )\right ) d^{5}+22 \left (\cos ^{2}\left (f x +e \right )\right ) d^{5}-23 \left (\cos ^{4}\left (f x +e \right )\right ) d^{5}-15 c^{5}+15 c^{5} \sin \left (f x +e \right )\right )}{15 f \cos \left (f x +e \right ) \left (\left (\cos ^{2}\left (f x +e \right )\right ) d^{2}+c^{2}-d^{2}\right )^{3} \left (c +d \right )^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 1.34, size = 544, normalized size = 3.83 \[ -\frac {2 \, {\left ({\left (15 \, c^{3} + 10 \, c^{2} d + 3 \, c d^{2}\right )} \sqrt {a} - \frac {{\left (15 \, c^{3} - 60 \, c^{2} d - 25 \, c d^{2} - 6 \, d^{3}\right )} \sqrt {a} \sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} + \frac {{\left (45 \, c^{3} - 40 \, c^{2} d + 93 \, c d^{2} + 10 \, d^{3}\right )} \sqrt {a} \sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} - \frac {5 \, {\left (9 \, c^{3} - 22 \, c^{2} d + 13 \, c d^{2} - 12 \, d^{3}\right )} \sqrt {a} \sin \left (f x + e\right )^{3}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{3}} + \frac {5 \, {\left (9 \, c^{3} - 22 \, c^{2} d + 13 \, c d^{2} - 12 \, d^{3}\right )} \sqrt {a} \sin \left (f x + e\right )^{4}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{4}} - \frac {{\left (45 \, c^{3} - 40 \, c^{2} d + 93 \, c d^{2} + 10 \, d^{3}\right )} \sqrt {a} \sin \left (f x + e\right )^{5}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{5}} + \frac {{\left (15 \, c^{3} - 60 \, c^{2} d - 25 \, c d^{2} - 6 \, d^{3}\right )} \sqrt {a} \sin \left (f x + e\right )^{6}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{6}} - \frac {{\left (15 \, c^{3} + 10 \, c^{2} d + 3 \, c d^{2}\right )} \sqrt {a} \sin \left (f x + e\right )^{7}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{7}}\right )} {\left (\frac {\sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} + 1\right )}^{3}}{15 \, {\left (c^{3} + 3 \, c^{2} d + 3 \, c d^{2} + d^{3} + \frac {3 \, {\left (c^{3} + 3 \, c^{2} d + 3 \, c d^{2} + d^{3}\right )} \sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} + \frac {3 \, {\left (c^{3} + 3 \, c^{2} d + 3 \, c d^{2} + d^{3}\right )} \sin \left (f x + e\right )^{4}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{4}} + \frac {{\left (c^{3} + 3 \, c^{2} d + 3 \, c d^{2} + d^{3}\right )} \sin \left (f x + e\right )^{6}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{6}}\right )} {\left (c + \frac {2 \, d \sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} + \frac {c \sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}}\right )}^{\frac {7}{2}} f} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 16.35, size = 501, normalized size = 3.53 \[ -\frac {\sqrt {c+d\,\sin \left (e+f\,x\right )}\,\left (\frac {{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,\sqrt {a+a\,\sin \left (e+f\,x\right )}\,32{}\mathrm {i}}{15\,d\,f\,{\left (c+d\right )}^3}-\frac {32\,{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,\sqrt {a+a\,\sin \left (e+f\,x\right )}}{15\,d\,f\,{\left (c+d\right )}^3}+\frac {{\mathrm {e}}^{e\,4{}\mathrm {i}+f\,x\,4{}\mathrm {i}}\,\left (240\,c^2+80\,d^2\right )\,\sqrt {a+a\,\sin \left (e+f\,x\right )}}{15\,d^3\,f\,{\left (c+d\right )}^3}-\frac {{\mathrm {e}}^{e\,3{}\mathrm {i}+f\,x\,3{}\mathrm {i}}\,\left (c^2\,240{}\mathrm {i}+d^2\,80{}\mathrm {i}\right )\,\sqrt {a+a\,\sin \left (e+f\,x\right )}}{15\,d^3\,f\,{\left (c+d\right )}^3}+\frac {32\,c\,{\mathrm {e}}^{e\,2{}\mathrm {i}+f\,x\,2{}\mathrm {i}}\,\sqrt {a+a\,\sin \left (e+f\,x\right )}}{3\,d^2\,f\,{\left (c+d\right )}^3}-\frac {c\,{\mathrm {e}}^{e\,5{}\mathrm {i}+f\,x\,5{}\mathrm {i}}\,\sqrt {a+a\,\sin \left (e+f\,x\right )}\,32{}\mathrm {i}}{3\,d^2\,f\,{\left (c+d\right )}^3}\right )}{{\mathrm {e}}^{e\,7{}\mathrm {i}+f\,x\,7{}\mathrm {i}}+\frac {{\left (c\,1{}\mathrm {i}+d\,1{}\mathrm {i}\right )}^3}{{\left (c+d\right )}^3}-\frac {3\,{\mathrm {e}}^{e\,5{}\mathrm {i}+f\,x\,5{}\mathrm {i}}\,\left (4\,c^2+2\,c\,d+d^2\right )}{d^2}-\frac {{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,\left (6\,c+d\right )}{d}+\frac {{\mathrm {e}}^{e\,3{}\mathrm {i}+f\,x\,3{}\mathrm {i}}\,\left (8\,c^3+12\,c^2\,d+12\,c\,d^2+3\,d^3\right )}{d^3}+\frac {{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,\left (c\,6{}\mathrm {i}+d\,1{}\mathrm {i}\right )}{d}-\frac {3\,{\mathrm {e}}^{e\,2{}\mathrm {i}+f\,x\,2{}\mathrm {i}}\,{\left (c\,1{}\mathrm {i}+d\,1{}\mathrm {i}\right )}^3\,\left (4\,c^2+2\,c\,d+d^2\right )}{d^2\,{\left (c+d\right )}^3}+\frac {{\mathrm {e}}^{e\,4{}\mathrm {i}+f\,x\,4{}\mathrm {i}}\,{\left (c\,1{}\mathrm {i}+d\,1{}\mathrm {i}\right )}^3\,\left (8\,c^3+12\,c^2\,d+12\,c\,d^2+3\,d^3\right )}{d^3\,{\left (c+d\right )}^3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________